.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.videoWrapper {
    flex: 1;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;

    .title {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100rpx;
        height: 100rpx;
        border-radius: 50%;
        color: #2f3e75;
        font-size: 30rpx;
        font-weight: bold;
        border: 8rpx solid #dbe5ec;
        margin-bottom: 20rpx;
    }
    .titleExample {
        @extend .title;
        background: #dbe5ec;
    }

    video {
        width: 100%;
    }
}

.horizon {
    border-bottom: 2px solid #bdbdbdc1;
    margin: 30rpx 0;
}

.info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30rpx 0;

    &TotalTime {
        font-size: 48rpx;
        color: #2f3e75;
    }

    &Doctor {
        display: flex;
        justify-content: center;
        align-items: center;
        vertical-align: middle;
        background: #dbe5ec;
        border-radius: 50rpx;
        padding: 10rpx 15rpx;
        font-size: 24rpx;

        &Avatar {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10rpx;

            image {
                display: block;
                width: 40rpx;
                height: 40rpx;
            }
        }
    }
}

.control {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 50rpx;
    height: 120rpx;
    margin: 30rpx 0;
    background-color: #fff;
    border-radius: 100rpx;
    overflow: hidden;

    --time: 0s;
    --status: 'running';
    // --status: 'paused';

    &::before {
        position: absolute;
        display: block;
        transition: width 0.3s ease-in-out;
        content: '';
        height: 100%;
        background: #2f3e75;
        // border-radius: 100rpx;
        left: 0;
        top: 0;
        animation: identifier var(--time) linear forwards;
        animation-play-state: var(--status);
    }

    @keyframes identifier {
        from {
            width: 0%;
        }
        to {
            width: 100%;
        }
    }
}

.control2 {
    @extend .control;
    background: #dbe5ec;
    color: #2f3e75;
    &::before {
        animation: none;
    }
    .button {
        font-size: 36rpx;
        font-weight: bold;
    }
}
